
/*
 * @项目名称: 模板开发
 * @FilePath: /meek/src/renderer/renderer.js
 * @Author: 
 * @Date: 2017-03-23T11:12:12+08:00
 * @LastEditors: guojinghao20ni@163.com
 * @LastEditTime: 2017-07-14T14:34:19+08:00
 * Copyright (c) 2018-2022
 */

/**
 * Created by zypc on 2016/11/15.
 */


import BaseObject from '../core/baseobject'

/**
 * 地图渲染器基类，
 * @class Renderer
 * @extends BaseObject
 * @module renderer
 */
export default class Renderer extends BaseObject {

  constructor (contianer, map) {
    super()

    this._map = map
  }

  /**
   * @property map
   * @type {Datatang.Map}
   */
  get map () { return this._map }

  /**
   *
   * @method renderFrame
   * @abstract
   * @param frameState {Object}
   */
  renderFrame (frameState) {} // eslint-disable-line no-unused-vars

  /**
   * @method clear
   * @abstract
   */
  clear () {}
}
